#ifndef CHART_WIDGET_H
#define CHART_WIDGET_H

#include <QWidget>
#include <QMap>
namespace Ui {
class ChartWidget;
}

class ChartWidget : public QWidget
{
    Q_OBJECT

public:
    explicit ChartWidget(QWidget *parent = nullptr);
    ~ChartWidget();

private slots:
    void on_year_m_btn_clicked();

    void on_month_btn_clicked();

    void on_user_y_btn_clicked();

    void on_user_m_btn_clicked();

signals:
    void signOtherChart(QString,QMap<QString , int>);
private:
    Ui::ChartWidget *ui;


private:
    void setCombobox(bool isMonth);
};

#endif // CHART_WIDGET_H
